﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GDCal
{
    public class GDCalConstants
    {
        public const String dbServer = "dbServer";
        public const String dbName = "dbName";
        public const String dbUsername = "dbUsername";
        public const String dbPassword = "dbPassword";

        public const String testConnectionToDBOK = "OK";

        public const Int32 arcGISServerParentNodeIndex = 0;
        public const Int32 folderParentNodeIndex = 1;
        public const String arcGISServerParentNodeName = "arcgis_parent";
        public const String folderParentNodeName = "folder_parent";

        public const String mapServiceType = "Dịch vụ bản đồ";
        public const String folderType = "Thư mục";
        public const String mxdType = "Tập tin bản đồ";

        public const String defaultType = "Loại mặc định";

        public static Dictionary<String, String> GDCalConfig = GDCalUtils.ReadDictionaryFile(AppDomain.CurrentDomain.BaseDirectory + "GDCal.ini");
    }
}
